package com.cugmarket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cugmarket.entity.ChatMessage;

import java.util.List;

public interface ChatMessageService extends IService<ChatMessage> {

    List<ChatMessage> getChatMessageList(String chatListId);

    void updateChatMessageIsRead(String chatListId);

    boolean saveMessages(List<String> chatMessages);
}
